import {createApp} from 'vue'
import {createPinia} from 'pinia'

import ArcoVue from '@arco-design/web-vue'
import './assets/main.css'
import App from './App.vue'
import router from './router'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import '@arco-design/web-vue/dist/arco.css'

const pinia = createPinia() // 创建 pinia 实例
pinia.use(piniaPluginPersistedstate) // 使用插件

const app = createApp(App)

app.use(pinia)
app.use(createPinia())
app.use(router)
app.use(ArcoVue)

app.mount('#app')
